#ifndef SNCascadeBoostParams_h__
#define SNCascadeBoostParams_h__
//------------------------------------------------------------
#include "opencv2\ml\ml.hpp"
#include <QString>
//------------------------------------------------------------
class SNCascadeBoostParams : public CvBoostParams
{
public:
	SNCascadeBoostParams();
	SNCascadeBoostParams(int boost_type, float min_hit_rate, float max_false_alarm,
		double weight_trim_rate, int max_depth, int max_weak_count);

	~SNCascadeBoostParams();

	void Write(cv::FileStorage &fs) const;
	bool Read(const cv::FileNode &node);
	//virtual void printDefaults() const;
	//virtual void printAttrs() const;
	virtual bool ScanAttr(const QString prm_name, const QString val);

	float MinHitRate;
	float MaxFalseAlarm;
};
//------------------------------------------------------------
#endif // SNCascadeBoostParams_h__
